package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FFutBasicExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FFutBasicExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNull() {
            addCriterion("ts_code is null");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNotNull() {
            addCriterion("ts_code is not null");
            return (Criteria) this;
        }

        public Criteria andTsCodeEqualTo(String value) {
            addCriterion("ts_code =", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotEqualTo(String value) {
            addCriterion("ts_code <>", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThan(String value) {
            addCriterion("ts_code >", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ts_code >=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThan(String value) {
            addCriterion("ts_code <", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThanOrEqualTo(String value) {
            addCriterion("ts_code <=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLike(String value) {
            addCriterion("ts_code like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotLike(String value) {
            addCriterion("ts_code not like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeIn(List<String> values) {
            addCriterion("ts_code in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotIn(List<String> values) {
            addCriterion("ts_code not in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeBetween(String value1, String value2) {
            addCriterion("ts_code between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotBetween(String value1, String value2) {
            addCriterion("ts_code not between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andSymbolIsNull() {
            addCriterion("symbol is null");
            return (Criteria) this;
        }

        public Criteria andSymbolIsNotNull() {
            addCriterion("symbol is not null");
            return (Criteria) this;
        }

        public Criteria andSymbolEqualTo(String value) {
            addCriterion("symbol =", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotEqualTo(String value) {
            addCriterion("symbol <>", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolGreaterThan(String value) {
            addCriterion("symbol >", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolGreaterThanOrEqualTo(String value) {
            addCriterion("symbol >=", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLessThan(String value) {
            addCriterion("symbol <", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLessThanOrEqualTo(String value) {
            addCriterion("symbol <=", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLike(String value) {
            addCriterion("symbol like", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotLike(String value) {
            addCriterion("symbol not like", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolIn(List<String> values) {
            addCriterion("symbol in", values, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotIn(List<String> values) {
            addCriterion("symbol not in", values, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolBetween(String value1, String value2) {
            addCriterion("symbol between", value1, value2, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotBetween(String value1, String value2) {
            addCriterion("symbol not between", value1, value2, "symbol");
            return (Criteria) this;
        }

        public Criteria andExchangeIsNull() {
            addCriterion("exchange is null");
            return (Criteria) this;
        }

        public Criteria andExchangeIsNotNull() {
            addCriterion("exchange is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeEqualTo(String value) {
            addCriterion("exchange =", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotEqualTo(String value) {
            addCriterion("exchange <>", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeGreaterThan(String value) {
            addCriterion("exchange >", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeGreaterThanOrEqualTo(String value) {
            addCriterion("exchange >=", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeLessThan(String value) {
            addCriterion("exchange <", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeLessThanOrEqualTo(String value) {
            addCriterion("exchange <=", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeLike(String value) {
            addCriterion("exchange like", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotLike(String value) {
            addCriterion("exchange not like", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeIn(List<String> values) {
            addCriterion("exchange in", values, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotIn(List<String> values) {
            addCriterion("exchange not in", values, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeBetween(String value1, String value2) {
            addCriterion("exchange between", value1, value2, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotBetween(String value1, String value2) {
            addCriterion("exchange not between", value1, value2, "exchange");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andFutCodeIsNull() {
            addCriterion("fut_code is null");
            return (Criteria) this;
        }

        public Criteria andFutCodeIsNotNull() {
            addCriterion("fut_code is not null");
            return (Criteria) this;
        }

        public Criteria andFutCodeEqualTo(String value) {
            addCriterion("fut_code =", value, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeNotEqualTo(String value) {
            addCriterion("fut_code <>", value, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeGreaterThan(String value) {
            addCriterion("fut_code >", value, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeGreaterThanOrEqualTo(String value) {
            addCriterion("fut_code >=", value, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeLessThan(String value) {
            addCriterion("fut_code <", value, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeLessThanOrEqualTo(String value) {
            addCriterion("fut_code <=", value, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeLike(String value) {
            addCriterion("fut_code like", value, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeNotLike(String value) {
            addCriterion("fut_code not like", value, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeIn(List<String> values) {
            addCriterion("fut_code in", values, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeNotIn(List<String> values) {
            addCriterion("fut_code not in", values, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeBetween(String value1, String value2) {
            addCriterion("fut_code between", value1, value2, "futCode");
            return (Criteria) this;
        }

        public Criteria andFutCodeNotBetween(String value1, String value2) {
            addCriterion("fut_code not between", value1, value2, "futCode");
            return (Criteria) this;
        }

        public Criteria andMultiplierIsNull() {
            addCriterion("multiplier is null");
            return (Criteria) this;
        }

        public Criteria andMultiplierIsNotNull() {
            addCriterion("multiplier is not null");
            return (Criteria) this;
        }

        public Criteria andMultiplierEqualTo(Float value) {
            addCriterion("multiplier =", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierNotEqualTo(Float value) {
            addCriterion("multiplier <>", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierGreaterThan(Float value) {
            addCriterion("multiplier >", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierGreaterThanOrEqualTo(Float value) {
            addCriterion("multiplier >=", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierLessThan(Float value) {
            addCriterion("multiplier <", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierLessThanOrEqualTo(Float value) {
            addCriterion("multiplier <=", value, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierIn(List<Float> values) {
            addCriterion("multiplier in", values, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierNotIn(List<Float> values) {
            addCriterion("multiplier not in", values, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierBetween(Float value1, Float value2) {
            addCriterion("multiplier between", value1, value2, "multiplier");
            return (Criteria) this;
        }

        public Criteria andMultiplierNotBetween(Float value1, Float value2) {
            addCriterion("multiplier not between", value1, value2, "multiplier");
            return (Criteria) this;
        }

        public Criteria andTradeUnitIsNull() {
            addCriterion("trade_unit is null");
            return (Criteria) this;
        }

        public Criteria andTradeUnitIsNotNull() {
            addCriterion("trade_unit is not null");
            return (Criteria) this;
        }

        public Criteria andTradeUnitEqualTo(String value) {
            addCriterion("trade_unit =", value, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitNotEqualTo(String value) {
            addCriterion("trade_unit <>", value, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitGreaterThan(String value) {
            addCriterion("trade_unit >", value, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitGreaterThanOrEqualTo(String value) {
            addCriterion("trade_unit >=", value, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitLessThan(String value) {
            addCriterion("trade_unit <", value, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitLessThanOrEqualTo(String value) {
            addCriterion("trade_unit <=", value, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitLike(String value) {
            addCriterion("trade_unit like", value, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitNotLike(String value) {
            addCriterion("trade_unit not like", value, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitIn(List<String> values) {
            addCriterion("trade_unit in", values, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitNotIn(List<String> values) {
            addCriterion("trade_unit not in", values, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitBetween(String value1, String value2) {
            addCriterion("trade_unit between", value1, value2, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andTradeUnitNotBetween(String value1, String value2) {
            addCriterion("trade_unit not between", value1, value2, "tradeUnit");
            return (Criteria) this;
        }

        public Criteria andPerUnitIsNull() {
            addCriterion("per_unit is null");
            return (Criteria) this;
        }

        public Criteria andPerUnitIsNotNull() {
            addCriterion("per_unit is not null");
            return (Criteria) this;
        }

        public Criteria andPerUnitEqualTo(Float value) {
            addCriterion("per_unit =", value, "perUnit");
            return (Criteria) this;
        }

        public Criteria andPerUnitNotEqualTo(Float value) {
            addCriterion("per_unit <>", value, "perUnit");
            return (Criteria) this;
        }

        public Criteria andPerUnitGreaterThan(Float value) {
            addCriterion("per_unit >", value, "perUnit");
            return (Criteria) this;
        }

        public Criteria andPerUnitGreaterThanOrEqualTo(Float value) {
            addCriterion("per_unit >=", value, "perUnit");
            return (Criteria) this;
        }

        public Criteria andPerUnitLessThan(Float value) {
            addCriterion("per_unit <", value, "perUnit");
            return (Criteria) this;
        }

        public Criteria andPerUnitLessThanOrEqualTo(Float value) {
            addCriterion("per_unit <=", value, "perUnit");
            return (Criteria) this;
        }

        public Criteria andPerUnitIn(List<Float> values) {
            addCriterion("per_unit in", values, "perUnit");
            return (Criteria) this;
        }

        public Criteria andPerUnitNotIn(List<Float> values) {
            addCriterion("per_unit not in", values, "perUnit");
            return (Criteria) this;
        }

        public Criteria andPerUnitBetween(Float value1, Float value2) {
            addCriterion("per_unit between", value1, value2, "perUnit");
            return (Criteria) this;
        }

        public Criteria andPerUnitNotBetween(Float value1, Float value2) {
            addCriterion("per_unit not between", value1, value2, "perUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitIsNull() {
            addCriterion("quote_unit is null");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitIsNotNull() {
            addCriterion("quote_unit is not null");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitEqualTo(String value) {
            addCriterion("quote_unit =", value, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitNotEqualTo(String value) {
            addCriterion("quote_unit <>", value, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitGreaterThan(String value) {
            addCriterion("quote_unit >", value, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitGreaterThanOrEqualTo(String value) {
            addCriterion("quote_unit >=", value, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitLessThan(String value) {
            addCriterion("quote_unit <", value, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitLessThanOrEqualTo(String value) {
            addCriterion("quote_unit <=", value, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitLike(String value) {
            addCriterion("quote_unit like", value, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitNotLike(String value) {
            addCriterion("quote_unit not like", value, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitIn(List<String> values) {
            addCriterion("quote_unit in", values, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitNotIn(List<String> values) {
            addCriterion("quote_unit not in", values, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitBetween(String value1, String value2) {
            addCriterion("quote_unit between", value1, value2, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitNotBetween(String value1, String value2) {
            addCriterion("quote_unit not between", value1, value2, "quoteUnit");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescIsNull() {
            addCriterion("quote_unit_desc is null");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescIsNotNull() {
            addCriterion("quote_unit_desc is not null");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescEqualTo(String value) {
            addCriterion("quote_unit_desc =", value, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescNotEqualTo(String value) {
            addCriterion("quote_unit_desc <>", value, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescGreaterThan(String value) {
            addCriterion("quote_unit_desc >", value, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescGreaterThanOrEqualTo(String value) {
            addCriterion("quote_unit_desc >=", value, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescLessThan(String value) {
            addCriterion("quote_unit_desc <", value, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescLessThanOrEqualTo(String value) {
            addCriterion("quote_unit_desc <=", value, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescLike(String value) {
            addCriterion("quote_unit_desc like", value, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescNotLike(String value) {
            addCriterion("quote_unit_desc not like", value, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescIn(List<String> values) {
            addCriterion("quote_unit_desc in", values, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescNotIn(List<String> values) {
            addCriterion("quote_unit_desc not in", values, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescBetween(String value1, String value2) {
            addCriterion("quote_unit_desc between", value1, value2, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andQuoteUnitDescNotBetween(String value1, String value2) {
            addCriterion("quote_unit_desc not between", value1, value2, "quoteUnitDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescIsNull() {
            addCriterion("d_mode_desc is null");
            return (Criteria) this;
        }

        public Criteria andDModeDescIsNotNull() {
            addCriterion("d_mode_desc is not null");
            return (Criteria) this;
        }

        public Criteria andDModeDescEqualTo(String value) {
            addCriterion("d_mode_desc =", value, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescNotEqualTo(String value) {
            addCriterion("d_mode_desc <>", value, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescGreaterThan(String value) {
            addCriterion("d_mode_desc >", value, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescGreaterThanOrEqualTo(String value) {
            addCriterion("d_mode_desc >=", value, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescLessThan(String value) {
            addCriterion("d_mode_desc <", value, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescLessThanOrEqualTo(String value) {
            addCriterion("d_mode_desc <=", value, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescLike(String value) {
            addCriterion("d_mode_desc like", value, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescNotLike(String value) {
            addCriterion("d_mode_desc not like", value, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescIn(List<String> values) {
            addCriterion("d_mode_desc in", values, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescNotIn(List<String> values) {
            addCriterion("d_mode_desc not in", values, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescBetween(String value1, String value2) {
            addCriterion("d_mode_desc between", value1, value2, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andDModeDescNotBetween(String value1, String value2) {
            addCriterion("d_mode_desc not between", value1, value2, "dModeDesc");
            return (Criteria) this;
        }

        public Criteria andListDateIsNull() {
            addCriterion("list_date is null");
            return (Criteria) this;
        }

        public Criteria andListDateIsNotNull() {
            addCriterion("list_date is not null");
            return (Criteria) this;
        }

        public Criteria andListDateEqualTo(String value) {
            addCriterion("list_date =", value, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateNotEqualTo(String value) {
            addCriterion("list_date <>", value, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateGreaterThan(String value) {
            addCriterion("list_date >", value, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateGreaterThanOrEqualTo(String value) {
            addCriterion("list_date >=", value, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateLessThan(String value) {
            addCriterion("list_date <", value, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateLessThanOrEqualTo(String value) {
            addCriterion("list_date <=", value, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateLike(String value) {
            addCriterion("list_date like", value, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateNotLike(String value) {
            addCriterion("list_date not like", value, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateIn(List<String> values) {
            addCriterion("list_date in", values, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateNotIn(List<String> values) {
            addCriterion("list_date not in", values, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateBetween(String value1, String value2) {
            addCriterion("list_date between", value1, value2, "listDate");
            return (Criteria) this;
        }

        public Criteria andListDateNotBetween(String value1, String value2) {
            addCriterion("list_date not between", value1, value2, "listDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateIsNull() {
            addCriterion("delist_date is null");
            return (Criteria) this;
        }

        public Criteria andDelistDateIsNotNull() {
            addCriterion("delist_date is not null");
            return (Criteria) this;
        }

        public Criteria andDelistDateEqualTo(String value) {
            addCriterion("delist_date =", value, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateNotEqualTo(String value) {
            addCriterion("delist_date <>", value, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateGreaterThan(String value) {
            addCriterion("delist_date >", value, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateGreaterThanOrEqualTo(String value) {
            addCriterion("delist_date >=", value, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateLessThan(String value) {
            addCriterion("delist_date <", value, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateLessThanOrEqualTo(String value) {
            addCriterion("delist_date <=", value, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateLike(String value) {
            addCriterion("delist_date like", value, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateNotLike(String value) {
            addCriterion("delist_date not like", value, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateIn(List<String> values) {
            addCriterion("delist_date in", values, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateNotIn(List<String> values) {
            addCriterion("delist_date not in", values, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateBetween(String value1, String value2) {
            addCriterion("delist_date between", value1, value2, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDelistDateNotBetween(String value1, String value2) {
            addCriterion("delist_date not between", value1, value2, "delistDate");
            return (Criteria) this;
        }

        public Criteria andDMonthIsNull() {
            addCriterion("d_month is null");
            return (Criteria) this;
        }

        public Criteria andDMonthIsNotNull() {
            addCriterion("d_month is not null");
            return (Criteria) this;
        }

        public Criteria andDMonthEqualTo(String value) {
            addCriterion("d_month =", value, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthNotEqualTo(String value) {
            addCriterion("d_month <>", value, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthGreaterThan(String value) {
            addCriterion("d_month >", value, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthGreaterThanOrEqualTo(String value) {
            addCriterion("d_month >=", value, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthLessThan(String value) {
            addCriterion("d_month <", value, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthLessThanOrEqualTo(String value) {
            addCriterion("d_month <=", value, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthLike(String value) {
            addCriterion("d_month like", value, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthNotLike(String value) {
            addCriterion("d_month not like", value, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthIn(List<String> values) {
            addCriterion("d_month in", values, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthNotIn(List<String> values) {
            addCriterion("d_month not in", values, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthBetween(String value1, String value2) {
            addCriterion("d_month between", value1, value2, "dMonth");
            return (Criteria) this;
        }

        public Criteria andDMonthNotBetween(String value1, String value2) {
            addCriterion("d_month not between", value1, value2, "dMonth");
            return (Criteria) this;
        }

        public Criteria andLastDdateIsNull() {
            addCriterion("last_ddate is null");
            return (Criteria) this;
        }

        public Criteria andLastDdateIsNotNull() {
            addCriterion("last_ddate is not null");
            return (Criteria) this;
        }

        public Criteria andLastDdateEqualTo(String value) {
            addCriterion("last_ddate =", value, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateNotEqualTo(String value) {
            addCriterion("last_ddate <>", value, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateGreaterThan(String value) {
            addCriterion("last_ddate >", value, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateGreaterThanOrEqualTo(String value) {
            addCriterion("last_ddate >=", value, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateLessThan(String value) {
            addCriterion("last_ddate <", value, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateLessThanOrEqualTo(String value) {
            addCriterion("last_ddate <=", value, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateLike(String value) {
            addCriterion("last_ddate like", value, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateNotLike(String value) {
            addCriterion("last_ddate not like", value, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateIn(List<String> values) {
            addCriterion("last_ddate in", values, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateNotIn(List<String> values) {
            addCriterion("last_ddate not in", values, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateBetween(String value1, String value2) {
            addCriterion("last_ddate between", value1, value2, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andLastDdateNotBetween(String value1, String value2) {
            addCriterion("last_ddate not between", value1, value2, "lastDdate");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescIsNull() {
            addCriterion("trade_time_desc is null");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescIsNotNull() {
            addCriterion("trade_time_desc is not null");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescEqualTo(String value) {
            addCriterion("trade_time_desc =", value, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescNotEqualTo(String value) {
            addCriterion("trade_time_desc <>", value, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescGreaterThan(String value) {
            addCriterion("trade_time_desc >", value, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescGreaterThanOrEqualTo(String value) {
            addCriterion("trade_time_desc >=", value, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescLessThan(String value) {
            addCriterion("trade_time_desc <", value, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescLessThanOrEqualTo(String value) {
            addCriterion("trade_time_desc <=", value, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescLike(String value) {
            addCriterion("trade_time_desc like", value, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescNotLike(String value) {
            addCriterion("trade_time_desc not like", value, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescIn(List<String> values) {
            addCriterion("trade_time_desc in", values, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescNotIn(List<String> values) {
            addCriterion("trade_time_desc not in", values, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescBetween(String value1, String value2) {
            addCriterion("trade_time_desc between", value1, value2, "tradeTimeDesc");
            return (Criteria) this;
        }

        public Criteria andTradeTimeDescNotBetween(String value1, String value2) {
            addCriterion("trade_time_desc not between", value1, value2, "tradeTimeDesc");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}